#include "aboutwindow.h"
#include "ui_aboutwindow.h"

aboutwindow::aboutwindow(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::aboutwindow)
{
    ui->setupUi(this);
    /// 窗口在Close()后自动释放内存
    this->setAttribute(Qt::WA_DeleteOnClose);
}

aboutwindow::~aboutwindow()
{
    emit on_delete_about_window();
    delete ui; 
}

void aboutwindow::close_about_window()
{
    this->close();
}

void aboutwindow::on_aboutOKButton_clicked()
{
    this->close();
}

